package com.zjmzxfzhl.modules.app.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zjmzxfzhl.common.core.validator.constraints.LengthForUtf8;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 *   统计任务概括
 * Created by macro on 2018/5/17.
 */
@Data
public class TaskCycleVo {

    /**
     * 计划开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    /**
     * 计划完成日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
}
